<?php slot('crm.current_header') ?>
<th class="crm_text crm_list_th_nombre">
  <?php if ('nombre' == $sort[0]): ?>
    <?php echo link_to(__('Nombre', array(), 'messages'), '@crm_almacen', array('query_string' => 'sort=nombre&sort_type='.($sort[1] == 'asc' ? 'desc' : 'asc'))) ?>
    <?php echo image_tag(sfConfig::get('crm_module_web_dir').'/images/'.$sort[1].'.png', array('alt' => __($sort[1], array(), 'crm'), 'title' => __($sort[1], array(), 'crm'))) ?>
  <?php else: ?>
    <?php echo link_to(__('Nombre', array(), 'messages'), '@crm_almacen', array('query_string' => 'sort=nombre&sort_type=asc')) ?>
  <?php endif; ?>
</th>
<?php end_slot(); ?>
<?php include_slot('crm.current_header') ?><?php slot('crm.current_header') ?>
<th class="crm_text crm_list_th_direccion">
  <?php if ('direccion' == $sort[0]): ?>
    <?php echo link_to(__('Dirección', array(), 'messages'), '@crm_almacen', array('query_string' => 'sort=direccion&sort_type='.($sort[1] == 'asc' ? 'desc' : 'asc'))) ?>
    <?php echo image_tag(sfConfig::get('crm_module_web_dir').'/images/'.$sort[1].'.png', array('alt' => __($sort[1], array(), 'crm'), 'title' => __($sort[1], array(), 'crm'))) ?>
  <?php else: ?>
    <?php echo link_to(__('Dirección', array(), 'messages'), '@crm_almacen', array('query_string' => 'sort=direccion&sort_type=asc')) ?>
  <?php endif; ?>
</th>
<?php end_slot(); ?>
<?php include_slot('crm.current_header') ?><?php slot('crm.current_header') ?>
<th class="crm_text crm_list_th_ciudad">
  <?php if ('ciudad' == $sort[0]): ?>
    <?php echo link_to(__('Ciudad', array(), 'messages'), '@crm_almacen', array('query_string' => 'sort=ciudad&sort_type='.($sort[1] == 'asc' ? 'desc' : 'asc'))) ?>
    <?php echo image_tag(sfConfig::get('crm_module_web_dir').'/images/'.$sort[1].'.png', array('alt' => __($sort[1], array(), 'crm'), 'title' => __($sort[1], array(), 'crm'))) ?>
  <?php else: ?>
    <?php echo link_to(__('Ciudad', array(), 'messages'), '@crm_almacen', array('query_string' => 'sort=ciudad&sort_type=asc')) ?>
  <?php endif; ?>
</th>
<?php end_slot(); ?>
<?php include_slot('crm.current_header') ?><?php slot('crm.current_header') ?>
<th class="crm_text crm_list_th_capacidad">
  <?php if ('capacidad' == $sort[0]): ?>
    <?php echo link_to(__('Capacidad', array(), 'messages'), '@crm_almacen', array('query_string' => 'sort=capacidad&sort_type='.($sort[1] == 'asc' ? 'desc' : 'asc'))) ?>
    <?php echo image_tag(sfConfig::get('crm_module_web_dir').'/images/'.$sort[1].'.png', array('alt' => __($sort[1], array(), 'crm'), 'title' => __($sort[1], array(), 'crm'))) ?>
  <?php else: ?>
    <?php echo link_to(__('Capacidad', array(), 'messages'), '@crm_almacen', array('query_string' => 'sort=capacidad&sort_type=asc')) ?>
  <?php endif; ?>
</th>
<?php end_slot(); ?>
<?php include_slot('crm.current_header') ?><?php slot('crm.current_header') ?>
<th class="crm_text crm_list_th_num_serie">
  <?php if ('ocupacion' == $sort[0]): ?>
    <?php echo link_to(__('Ocupacion', array(), 'messages'), '@crm_almacen', array('query_string' => 'sort=ocupacion&sort_type='.($sort[1] == 'asc' ? 'desc' : 'asc'))) ?>
    <?php echo image_tag(sfConfig::get('crm_module_web_dir').'/images/'.$sort[1].'.png', array('alt' => __($sort[1], array(), 'crm'), 'title' => __($sort[1], array(), 'crm'))) ?>
  <?php else: ?>
    <?php echo link_to(__('Ocupacion', array(), 'messages'), '@crm_almacen', array('query_string' => 'sort=ocupacion&sort_type=asc')) ?>
  <?php endif; ?>
</th>
<?php end_slot(); ?>
<?php include_slot('crm.current_header') ?>